<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Percepio Trace Recorder: include/trcTimestamp.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Percepio Trace Recorder<span id="projectnumber">&#160;v4.10.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('trcTimestamp_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">trcTimestamp.h</div></div>
</div><!--header-->
<div class="contents">
<a href="trcTimestamp_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">* Percepio Trace Recorder for Tracealyzer v4.10.3</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">* Copyright 2023 Percepio AB</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">* www.percepio.com</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">*</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">* SPDX-License-Identifier: Apache-2.0</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">*/</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#ifndef TRC_TIMESTAMP_H</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#define TRC_TIMESTAMP_H</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#if (TRC_USE_TRACEALYZER_RECORDER == 1) &amp;&amp; (TRC_CFG_RECORDER_MODE == TRC_RECORDER_MODE_STREAMING)</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#include &lt;trcTypes.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html">   35</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structTraceTimestampData.html">TraceTimestampData</a>   <span class="comment">/* Aligned */</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a48de9426193337c796e7d71bd13c48bb">   37</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#a48de9426193337c796e7d71bd13c48bb">type</a>;                      </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#af5cb77711278fbc4883f92ece1eb8a77">   38</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#af5cb77711278fbc4883f92ece1eb8a77">period</a>;                    </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a86e73f20ece09258cf5c0466238530e0">   39</a></span>    TraceUnsignedBaseType_t <a class="code hl_variable" href="structTraceTimestampData.html#a86e73f20ece09258cf5c0466238530e0">frequency</a>;  </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a8c0595bf3f6711d97a12712108834b5e">   40</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#a8c0595bf3f6711d97a12712108834b5e">wraparounds</a>;               </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a6ddf9efb7b1b2b4eb54c2c1ccd467d6c">   41</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#a6ddf9efb7b1b2b4eb54c2c1ccd467d6c">osTickHz</a>;                  </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a2b2a757a002505e143807470cf9a2696">   42</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#a2b2a757a002505e143807470cf9a2696">latestTimestamp</a>;           </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="structTraceTimestampData.html#a7cbe7298667e55b74926aad8266808bc">   43</a></span>    uint32_t <a class="code hl_variable" href="structTraceTimestampData.html#a7cbe7298667e55b74926aad8266808bc">osTickCount</a>;               </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#ga8b7c675ec2e8975af31f37bc1b7da5d0">   44</a></span>} <a class="code hl_typedef" href="group__trace__timestamp__apis.html#ga8b7c675ec2e8975af31f37bc1b7da5d0">TraceTimestampData_t</a>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keyword">extern</span> <a class="code hl_struct" href="structTraceTimestampData.html">TraceTimestampData_t</a>* pxTraceTimestamp;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>traceResult xTraceTimestampInitialize(<a class="code hl_struct" href="structTraceTimestampData.html">TraceTimestampData_t</a> *pxBuffer);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span><span class="preprocessor">#if ((TRC_CFG_USE_TRACE_ASSERT) == 1)</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#gaf1df1208059acfa9ed418a70d50be4e5">xTraceTimestampGet</a>(uint32_t* puiTimestamp);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#gacb2d292f0b068d6653eed16bdfa64540">xTraceTimestampGetWraparounds</a>(uint32_t* puiTimerWraparounds);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#ga7e582d9f384f366f5d44dd9033e160c8">xTraceTimestampSetFrequency</a>(TraceUnsignedBaseType_t uxFrequency);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#gaa2305ef12c3f6c996a56ba3f2fe7120c">xTraceTimestampGetFrequency</a>(TraceUnsignedBaseType_t* puxFrequency);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#gaaebd43421b8dd4fbc59e57ef8faf1969">xTraceTimestampSetPeriod</a>(uint32_t uiPeriod);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#gaaa2ab98ff676a9aab177721d921fee84">xTraceTimestampGetPeriod</a>(uint32_t* puiPeriod);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#ga4c8f56e6cfdc4c041c25dfc8e9c53a12">xTraceTimestampSetOsTickCount</a>(uint32_t uiOsTickCount);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>traceResult <a class="code hl_define" href="group__trace__timestamp__apis.html#ga5cd3d2acef0691b00a18ca7b9f0eb827">xTraceTimestampGetOsTickCount</a>(uint32_t *puiOsTickCount);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span><span class="preprocessor">#else </span><span class="comment">/* ((TRC_CFG_USE_TRACE_ASSERT) == 1) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span><span class="preprocessor">#if ((TRC_HWTC_TYPE == TRC_FREE_RUNNING_32BIT_INCR) || (TRC_HWTC_TYPE == TRC_CUSTOM_TIMER_INCR))</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#gaf1df1208059acfa9ed418a70d50be4e5">  152</a></span><span class="preprocessor">#define xTraceTimestampGet(puiTimestamp) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4(*(puiTimestamp) = TRC_HWTC_COUNT, (*(puiTimestamp) &lt; pxTraceTimestamp-&gt;latestTimestamp) ? pxTraceTimestamp-&gt;wraparounds++ : 0, pxTraceTimestamp-&gt;latestTimestamp = *(puiTimestamp), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span><span class="preprocessor">#elif ((TRC_HWTC_TYPE == TRC_FREE_RUNNING_32BIT_DECR) || (TRC_HWTC_TYPE == TRC_CUSTOM_TIMER_DECR))</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span><span class="preprocessor">#define xTraceTimestampGet(puiTimestamp) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4(*(puiTimestamp) = TRC_HWTC_COUNT, (*(puiTimestamp) &gt; pxTraceTimestamp-&gt;latestTimestamp) ? pxTraceTimestamp-&gt;wraparounds++ : 0, pxTraceTimestamp-&gt;latestTimestamp = *(puiTimestamp), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span><span class="preprocessor">#elif ((TRC_HWTC_TYPE == TRC_OS_TIMER_INCR) || (TRC_HWTC_TYPE == TRC_OS_TIMER_DECR))</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="preprocessor">#define xTraceTimestampGet(puiTimestamp) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4(*(puiTimestamp) = ((TRC_HWTC_COUNT) &amp; 0x00FFFFFFU) + ((pxTraceTimestamp-&gt;osTickCount &amp; 0x000000FFU) &lt;&lt; 24), pxTraceTimestamp-&gt;wraparounds = pxTraceTimestamp-&gt;osTickCount, pxTraceTimestamp-&gt;latestTimestamp = *(puiTimestamp), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#gacb2d292f0b068d6653eed16bdfa64540">  167</a></span><span class="preprocessor">#define xTraceTimestampGetWraparounds(puiTimerWraparounds) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiTimerWraparounds) = pxTraceTimestamp-&gt;wraparounds, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#ga7e582d9f384f366f5d44dd9033e160c8">  177</a></span><span class="preprocessor">#define xTraceTimestampSetFrequency(uxFrequency) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp-&gt;frequency = uxFrequency, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#gaaebd43421b8dd4fbc59e57ef8faf1969">  187</a></span><span class="preprocessor">#define xTraceTimestampSetPeriod(uiPeriod) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp-&gt;period = uiPeriod, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#ga4c8f56e6cfdc4c041c25dfc8e9c53a12">  197</a></span><span class="preprocessor">#define xTraceTimestampSetOsTickCount(uiOsTickCount) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(pxTraceTimestamp-&gt;osTickCount = uiOsTickCount, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span> </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#gaa2305ef12c3f6c996a56ba3f2fe7120c">  207</a></span><span class="preprocessor">#define xTraceTimestampGetFrequency(puxFrequency) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puxFrequency) = pxTraceTimestamp-&gt;frequency, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#gaaa2ab98ff676a9aab177721d921fee84">  217</a></span><span class="preprocessor">#define xTraceTimestampGetPeriod(puiPeriod) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiPeriod) = pxTraceTimestamp-&gt;period, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="group__trace__timestamp__apis.html#ga5cd3d2acef0691b00a18ca7b9f0eb827">  227</a></span><span class="preprocessor">#define xTraceTimestampGetOsTickCount(puiOsTickCount) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiOsTickCount) = pxTraceTimestamp-&gt;osTickCount, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span><span class="preprocessor">#endif </span><span class="comment">/* ((TRC_CFG_USE_TRACE_ASSERT) == 1) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>}</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_ga4c8f56e6cfdc4c041c25dfc8e9c53a12"><div class="ttname"><a href="group__trace__timestamp__apis.html#ga4c8f56e6cfdc4c041c25dfc8e9c53a12">xTraceTimestampSetOsTickCount</a></div><div class="ttdeci">#define xTraceTimestampSetOsTickCount(uiOsTickCount)</div><div class="ttdoc">Sets trace timestamp OS tick count.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:197</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_ga5cd3d2acef0691b00a18ca7b9f0eb827"><div class="ttname"><a href="group__trace__timestamp__apis.html#ga5cd3d2acef0691b00a18ca7b9f0eb827">xTraceTimestampGetOsTickCount</a></div><div class="ttdeci">#define xTraceTimestampGetOsTickCount(puiOsTickCount)</div><div class="ttdoc">Gets trace timestamp OS tick count.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:227</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_ga7e582d9f384f366f5d44dd9033e160c8"><div class="ttname"><a href="group__trace__timestamp__apis.html#ga7e582d9f384f366f5d44dd9033e160c8">xTraceTimestampSetFrequency</a></div><div class="ttdeci">#define xTraceTimestampSetFrequency(uxFrequency)</div><div class="ttdoc">Sets trace timestamp frequency.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:177</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_ga8b7c675ec2e8975af31f37bc1b7da5d0"><div class="ttname"><a href="group__trace__timestamp__apis.html#ga8b7c675ec2e8975af31f37bc1b7da5d0">TraceTimestampData_t</a></div><div class="ttdeci">struct TraceTimestampData TraceTimestampData_t</div><div class="ttdoc">Trace Timestamp Structure.</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_gaa2305ef12c3f6c996a56ba3f2fe7120c"><div class="ttname"><a href="group__trace__timestamp__apis.html#gaa2305ef12c3f6c996a56ba3f2fe7120c">xTraceTimestampGetFrequency</a></div><div class="ttdeci">#define xTraceTimestampGetFrequency(puxFrequency)</div><div class="ttdoc">Gets trace timestamp frequency.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:207</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_gaaa2ab98ff676a9aab177721d921fee84"><div class="ttname"><a href="group__trace__timestamp__apis.html#gaaa2ab98ff676a9aab177721d921fee84">xTraceTimestampGetPeriod</a></div><div class="ttdeci">#define xTraceTimestampGetPeriod(puiPeriod)</div><div class="ttdoc">Gets trace timestamp period.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:217</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_gaaebd43421b8dd4fbc59e57ef8faf1969"><div class="ttname"><a href="group__trace__timestamp__apis.html#gaaebd43421b8dd4fbc59e57ef8faf1969">xTraceTimestampSetPeriod</a></div><div class="ttdeci">#define xTraceTimestampSetPeriod(uiPeriod)</div><div class="ttdoc">Sets trace timestamp period.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:187</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_gacb2d292f0b068d6653eed16bdfa64540"><div class="ttname"><a href="group__trace__timestamp__apis.html#gacb2d292f0b068d6653eed16bdfa64540">xTraceTimestampGetWraparounds</a></div><div class="ttdeci">#define xTraceTimestampGetWraparounds(puiTimerWraparounds)</div><div class="ttdoc">Gets trace timestamp wraparounds.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:167</div></div>
<div class="ttc" id="agroup__trace__timestamp__apis_html_gaf1df1208059acfa9ed418a70d50be4e5"><div class="ttname"><a href="group__trace__timestamp__apis.html#gaf1df1208059acfa9ed418a70d50be4e5">xTraceTimestampGet</a></div><div class="ttdeci">#define xTraceTimestampGet(puiTimestamp)</div><div class="ttdoc">Gets current trace timestamp.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:152</div></div>
<div class="ttc" id="astructTraceTimestampData_html"><div class="ttname"><a href="structTraceTimestampData.html">TraceTimestampData</a></div><div class="ttdoc">Trace Timestamp Structure.</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:36</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a2b2a757a002505e143807470cf9a2696"><div class="ttname"><a href="structTraceTimestampData.html#a2b2a757a002505e143807470cf9a2696">TraceTimestampData::latestTimestamp</a></div><div class="ttdeci">uint32_t latestTimestamp</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:42</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a48de9426193337c796e7d71bd13c48bb"><div class="ttname"><a href="structTraceTimestampData.html#a48de9426193337c796e7d71bd13c48bb">TraceTimestampData::type</a></div><div class="ttdeci">uint32_t type</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:37</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a6ddf9efb7b1b2b4eb54c2c1ccd467d6c"><div class="ttname"><a href="structTraceTimestampData.html#a6ddf9efb7b1b2b4eb54c2c1ccd467d6c">TraceTimestampData::osTickHz</a></div><div class="ttdeci">uint32_t osTickHz</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:41</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a7cbe7298667e55b74926aad8266808bc"><div class="ttname"><a href="structTraceTimestampData.html#a7cbe7298667e55b74926aad8266808bc">TraceTimestampData::osTickCount</a></div><div class="ttdeci">uint32_t osTickCount</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:43</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a86e73f20ece09258cf5c0466238530e0"><div class="ttname"><a href="structTraceTimestampData.html#a86e73f20ece09258cf5c0466238530e0">TraceTimestampData::frequency</a></div><div class="ttdeci">TraceUnsignedBaseType_t frequency</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:39</div></div>
<div class="ttc" id="astructTraceTimestampData_html_a8c0595bf3f6711d97a12712108834b5e"><div class="ttname"><a href="structTraceTimestampData.html#a8c0595bf3f6711d97a12712108834b5e">TraceTimestampData::wraparounds</a></div><div class="ttdeci">uint32_t wraparounds</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:40</div></div>
<div class="ttc" id="astructTraceTimestampData_html_af5cb77711278fbc4883f92ece1eb8a77"><div class="ttname"><a href="structTraceTimestampData.html#af5cb77711278fbc4883f92ece1eb8a77">TraceTimestampData::period</a></div><div class="ttdeci">uint32_t period</div><div class="ttdef"><b>Definition:</b> trcTimestamp.h:38</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="trcTimestamp_8h.html">trcTimestamp.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
